import java.io.*;
public class shiyan3_2
{ 
    public static void main(String args[])
    {   
        int b = 0;
         FileReader in=null;
       try{     
         File f =new File("D:\\WxtOut.txt");
         in = new FileReader(f); 
           } catch(FileNotFoundException e) 
        {
         System.out.println("找不到指定文件！");
        }
        try 
        {      
           while((b=in.read())!= -1) 
        {
              System.out.print((char)b);                }
           in.close();
           System.out.println();           
        }catch(IOException ioe) 
        {
           System.out.println("文件读取错误！");
         }  
    }       
}